home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
doom
/
hostage.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1997-05-18
|
2KB
|
68 lines
@echo.
@echo. Installation of HOSTAGE.WAD
@echo.
@echo. Depending on your computer,
@echo. installation will take a
@echo. few minutes; be patient.
@echo.
@echo."Now the field of battle is a
@echo. land of standing corpses; those
@echo. determined to die will live;
@echo. those who hope to escape with
@echo. their lives will die."
@echo.
@echo. - Wu Ch'i
@echo.
@echo.
@rem Check main WAD
@if not exist doom2.wad goto miss
@echo @echo. Restoration > restore.bat
@echo doom2.exe -file hostage.wad > play.bat
@rem
@rem Check for required files
@if not exist hostage.wad goto miss
@if not exist doom2.exe goto miss
@if not exist hostage6.deh goto miss
@if not exist deusf.exe goto miss
@if not exist dehacked.exe goto miss
@rem
@rem Install EXE Patch
@copy doom2.exe doomhack.exe
@echo rm doomhack.exe >> restore.bat
@rem
@dehacked -reload -load hostage6.deh > hacked.log
@if not ERRORLEVEL 0 goto fail
@rem Modify game command
@echo.
@echo doomhack.exe -file hostage.wad > play.bat
@echo For multiplayer games, rename doomhack.exe
@echo to doom2.exe but first rename doom2.exe as
@echo something else. This will be the case if you
@echo use SETUP, IPXSETUP, SERSETUP or DM
@rem
@rem Install Sprites or Flats in WAD
@if not exist hostage.wad goto miss
@echo deusf -res hostage.wad >> restore.bat
@echo Completing sprites, please wait...
@deusf -main .\doom2.wad -as hostage.wad> deusf.log
@if not ERRORLEVEL 0 goto fail
@rem
@rem
@echo Installation completed.
@echo.
@echo type PLAY to launch Hostage Rescue.
@echo type RESTORE to revert Hostage Rescue
@goto end
:fail
@echo. **Installation failed: A tool didn't work.
@echo. See hack.log or deusf.log for details.
@goto end
:miss
@echo. **Installation impossible: some files are missing.
@echo. Make sure that deusf.exe, dehacked.exe, hostage.wad
@echo. and hostage6.deh are in your Doom2 dir. Please copy
@echo. all your files in the main game directory, and try another
@echo. install.
@goto end
:end